home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Pascal / source / list manager package ƒ / CTextList.make next >
Encoding:
Text File  |  1990-01-07  |  1.4 KB  |  49 lines  |  [TEXT/MPS ]

  1. #
  2. #
  3. #                     Sample Source Code by Jack A. Littleton
  4. #
  5. #                     Example List Manager Application--TextList
  6. #                     -------------------------------------------
  7. #
  8. #    PTextList.make -- Makefile for CTextList
  9. #    This file and all files in this package are copyright © 1989 by
  10. #    Jack A. Littleton, All rights reserved.
  11. #    Version 1.0 - January 1, 1989
  12. #    
  13. #    This package includes:
  14. #        TextList.r         -- Rez source code for all files
  15. #        TextList.c         -- C source code
  16. #        TextList.p         -- Pascal source code
  17. #        PTextList.r        -- Pascal-specific Rez source code
  18. #        CTextList.r        -- C-specific Rez source code
  19. #        PTextList.make     -- Makefile for PTextList
  20. #        CTextList.make     -- This file
  21. #        
  22. #        SampleList.txt    -- Documentation for this package
  23. #        
  24. #
  25. #   File:       CListMgr.make
  26. #   Target:     CListMgr
  27. #   Sources:    ListMgr.c ListMgr.r
  28. #   Created:    Monday, December 4, 1989 23:16:47
  29.  
  30. SourceFile    = TextList
  31. Lang        = C
  32. BinFile        = {Lang}{SourceFile}
  33. ObjFiles    = {SourceFile}.{Lang}.o ∂
  34.               "{CLibraries}"CRuntime.o ∂
  35.               "{CLibraries}"StdCLib.o ∂
  36.               "{CLibraries}"CSANELib.o ∂
  37.               "{CLibraries}"CInterface.o ∂
  38.               "{Libraries}"Interface.o
  39.  
  40. {BinFile}    ƒƒ {ObjFiles} {BinFile}.make
  41.     Link -o {Targ} -w -t 'APPL' -c 'CASh' {ObjFiles} && ∂
  42.         SetFile {Targ} -a B && ∂
  43.             Save {TargDir}{SourceFile}.{Lang}
  44.  
  45. {BinFile}    ƒƒ {SourceFile}.r {BinFile}.make
  46.     Rez {SourceFile}.r -append -o {Targ}
  47.  
  48. {BinFile}    ƒƒ    {Lang}{SourceFile}.r {BinFile}.make
  49.     Rez {Lang}{SourceFile}.r -append -o {Targ}